Can a bulb with an E26 base fit in an E27 socket?

The answer is sometimes. Sometimes an E26 base will fit into an E27 socket, while other times an E26 base will have one extra tread, preventing it from reaching the bottom of the socket and forming a connection.