The Denpasar police chief has denied a grinning photograph of himself and condemned prisoner Andrew Chan was a heartless selfie.

Bizarre photographs emerged on Indonesian news websites of Senior Commissioner Djoko Hari Utomo with his arm draped around Chan's shoulder as if the two were posing for a happy snap.

The Denpasar police chief poses with Myuran Sukumaran. Credit:Kompas TV

Senior Commissioner Djoko was photographed standing in the aisle of the Wings Air plane that was about to take Chan and Myuran Sukumaran on their last flight before execution.