Pour a small amount of spirit of hartshorn (an aqueous solution of ammonia) into a container and leave it overnight in the switched-off oven. Air the room in the morning, and then wash the oven. The dirt will come off easily. The smell will disappear shortly. Just make sure you have the windows open while you’re doing it, and wear rubber gloves the whole time.